package com.bsoft.gol.hcs.clinical.bean.response;

import com.bsoft.gol.hcs.clinical.bean.req.TraChiSyndrome;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.List;

/**
 * @author tongtp
 * @version v0.1
 * @className QueryDiagnosticListResponse
 * @description 查询诊断列表
 * @create 2019-06-19 10:38
 **/
@XmlRootElement(name = "DiagList")
public class QueryDiagnosticListResponse implements Serializable {

	private String diagnosticId;

	private String diseasesId;

	private String diagnosticName;
	private Integer diagnosticType;

	private String diagnosticCode;

	private String diagnosticPinyinInitials;
    private Integer tcmSyndromeId;
    private String tcmSyndromeCode;
    private String tcmSyndromeName;
	/*证候信息*/
	private List<TraChiSyndrome> traChiSyndromeList;


	@XmlElement(name = "DiagnoseId")
	public String getDiagnosticId() {
		return diagnosticId;
	}

	public void setDiagnosticId(String diagnosticId) {
		this.diagnosticId = diagnosticId;
	}

	public String getDiseasesId() {
		return diseasesId;
	}

	public void setDiseasesId(String diseasesId) {
		this.diseasesId = diseasesId;
	}

	@XmlElement(name = "DiagnoseName")
	public String getDiagnosticName() {
		return diagnosticName;
	}

	public void setDiagnosticName(String diagnosticName) {
		this.diagnosticName = diagnosticName;
	}

	public Integer getDiagnosticType() {
		return diagnosticType;
	}

	public void setDiagnosticType(Integer diagnosticType) {
		this.diagnosticType = diagnosticType;
	}


	@XmlElement(name = "DiagnoseCode")
	public String getDiagnosticCode() {
		return diagnosticCode;
	}

	public void setDiagnosticCode(String diagnosticCode) {
		this.diagnosticCode = diagnosticCode;
	}

	public String getDiagnosticPinyinInitials() {
		return diagnosticPinyinInitials;
	}

	public void setDiagnosticPinyinInitials(String diagnosticPinyinInitials) {
		this.diagnosticPinyinInitials = diagnosticPinyinInitials;
	}

	public Integer getTcmSyndromeId() {
		return tcmSyndromeId;
	}

	public void setTcmSyndromeId(Integer tcmSyndromeId) {
		this.tcmSyndromeId = tcmSyndromeId;
	}

	public String getTcmSyndromeCode() {
		return tcmSyndromeCode;
	}

	public void setTcmSyndromeCode(String tcmSyndromeCode) {
		this.tcmSyndromeCode = tcmSyndromeCode;
	}

	public String getTcmSyndromeName() {
		return tcmSyndromeName;
	}

	public void setTcmSyndromeName(String tcmSyndromeName) {
		this.tcmSyndromeName = tcmSyndromeName;
	}


	@XmlElementWrapper(name = "TraChiSyndromeList")
	@XmlElement(name = "TraChiSyndrome")
	public List<TraChiSyndrome> getTraChiSyndromeList() {
		return traChiSyndromeList;
	}

	public void setTraChiSyndromeList(List<TraChiSyndrome> traChiSyndromeList) {
		this.traChiSyndromeList = traChiSyndromeList;
	}

	@Override
	public String toString() {
		final StringBuilder sb = new StringBuilder("{");
		sb.append("\"diagnosticId\":\"")
				.append(diagnosticId).append('\"');
		sb.append(",\"diseasesId\":\"")
				.append(diseasesId).append('\"');
		sb.append(",\"diagnosticName\":\"")
				.append(diagnosticName).append('\"');
		sb.append(",\"diagnosticType\":")
				.append(diagnosticType);
		sb.append(",\"diagnosticCode\":\"")
				.append(diagnosticCode).append('\"');
		sb.append(",\"diagnosticPinyinInitials\":\"")
				.append(diagnosticPinyinInitials).append('\"');
		sb.append(",\"tcmSyndromeId\":")
				.append(tcmSyndromeId);
		sb.append(",\"tcmSyndromeCode\":\"")
				.append(tcmSyndromeCode).append('\"');
		sb.append(",\"tcmSyndromeName\":\"")
				.append(tcmSyndromeName).append('\"');
		sb.append(",\"traChiSyndromeList\":")
				.append(traChiSyndromeList);
		sb.append('}');
		return sb.toString();
	}
}
